--- 
layout: default 
title: 博文分类 
header: Posts By Category 
---

<div class="container docs-container">
	<div class="row">
		<div class="col-md-3">
			<div class="sidebar hidden-print" role="complementary">
				<div id="navigation">
					<h1>博文分类</h1>
					<ul class="nav sidenav">
						{% if site.categories.first[0] == null %} {% for category in site.categories %}
						<li>
							<a href="#{{ category }}-ref">
								{{ category | join: "/" }}
								<span style="color: #999999;">({{ site.categories[category].size }})</span>
							</a>
						</li>
						{% endfor %} {% else %} {% for category in site.categories %}
						<li>
							<a href="#{{ category[0] }}-ref">
								{{ category[0] | join: "/" }}
								<span style="color: #999999;">({{ category[1].size }})</span>
							</a>
						</li>
						{% endfor %} {% endif %}
					</ul>
				</div>
			</div>
		</div>
		<div class="col-md-9" role="main">
			<div class="panel docs-content">
				<div class="wrapper">
					<div class="home">
						{% for category in site.categories %}
						<h2 class="title-border" id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
						<hr>
						<div>
							{% assign pages_list = category[1] %} {% include LessOrMore/pages_list %}
						</div>
						<hr> {% endfor %}
					</div>
				</div>
			</div>
		</div>
	</div>
</div>